package com.ruoyi.system.agriculture.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 农作物品种对象 ag_crop_variety
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("ag_crop_variety")
public class AgCropVariety extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 品种ID */
    @TableId(type = IdType.AUTO)
    private Long varietyId;

    /** 品种名称 */
    private String varietyName;

    /** 作物类型 */
    private String cropType;

    /** 生长周期(天) */
    private Integer growthCycle;

    /** 适宜季节 */
    private String suitableSeason;

    /** 种植方法 */
    private String plantingMethod;

    /** 抗病性 */
    private String diseaseResistance;

    /** 预计产量(kg/亩) */
    private BigDecimal yieldEstimate;

    /** 状态（0正常 1停用） */
    private String status;
} 